package entity;

public class ShootGenerator {

	public static void shoot(BaseTank tank,Bullet bullet,Direction dir) {
		//һֱ�ƶ�
		while(!bullet.isUsed()) {
			//MoveGenerator.move(bullet.getPosition(), dir, tank.getSpeed(),Bullet.class);
			try {
				Thread.sleep(100);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}
	
}
